home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / doors_2 / pict104.zip / PICTDOR.CTL < prev    next >
Text File  |  1991-04-15  |  6KB  |  137 lines

  1. ;
  2. ; This is an example file.  When you taylor this file to the way you want
  3. ; it you should also remove these comments.  Reading through the comments
  4. ; will cause PICTDOR to start slower.
  5. ;
  6. ;Area table follows. Each area must be listed one per line, in the order
  7. ;you wish them to be displayed. Here is a listing of the parameters that
  8. ;must be present on the line:
  9. ;
  10. ;Num: This field is used to specify the number that will be assigned to the
  11. ;     area.  Each area must be assigned a different number.  The area number
  12. ;     allows to select which areas pictures is to be displayed.
  13. ;
  14. ;     If only one area is defined, the user will be placed in that area and
  15. ;     will not be presented with a selection list.
  16. ;
  17. ;Area Path: This is the drive and path to the subdirectory that contains the
  18. ;           files to be displayed to the user.  This subdirectory must also
  19. ;           contain the directory file.
  20. ;
  21. ;Dir File: This entry contains the name of the file that contains each file
  22. ;          name and it's description.  The format of the directory file is
  23. ;          the same as Files.BBS that is used by so many BBS's.  If this
  24. ;          entry is not specified it will default to Files.BBS.
  25. ;
  26. ;          You may also specify a drive and path with the Dir file should
  27. ;          it not be located in the same directory as the screens.  This
  28. ;          would be most useful for systems like RBBS which keeps their
  29. ;          Dir files separate from the actual file directory.
  30. ;
  31. AREATABLE
  32. ;Num         Area Path        <drive/Path>Dir File
  33. ;---  ----------------------- --------------------
  34.    1  .\                            Files.BBS
  35. EndAreaTable
  36. ;
  37. ;
  38. DESCTABLE
  39. ;
  40. ;  PictDor will use this description if a DIR.BBS dosen't exist in the
  41. ;  specified Area Path.  You can place ANSI escape sequences in the
  42. ;  DIR.BBS file.
  43. ;
  44. 1 This is a test area
  45. EndDescTable
  46. ;
  47. ;  Here is where the Welcome Screen Name Goes.  Be sure to leave off
  48. ;  the extension.  If you don't want an Opening Screen, just comment
  49. ;  out this statement.
  50. ;
  51. WELCOME PICTDOR
  52. ;
  53. ;  The INCLUDE & EXCLUDE statements are used to either select or reject
  54. ;  the files to be displayed in the user list.  The inclusion or exclusion
  55. ;  is based on the file extension.  There may be multiple INCLUDE / EXCLUDE
  56. ;  statements.
  57. ;
  58. ;  For example, if you only wanted the selection list to display files that
  59. ;  end with ANS you would use the statement:
  60. ;
  61. ;      INCLUDE .ANS
  62. ;
  63. ;  If you wanted to prevent ZIP files from being included in the list you
  64. ;  would use the statement:
  65. ;
  66. ;      EXCLUDE .ZIP
  67. ;
  68. ;  INCLUDE and EXCLUDE statements may contain multiple file extensions.
  69. ;  For example:
  70. ;
  71. ;      EXCLUDE .ZIP .ARC .LZH .PAK
  72. ;
  73. ;  would exclude ZIP, ARC, LZH, and PAK files from the list.  You can also
  74. ;  have multiple INCLUDE or multiple EXCLUDE statements.  The number if
  75. ;  extensions which may be included or excluded is in the hundreds.  The
  76. ;  period in front of the extension is required.
  77. ;
  78. ;  Also, don't use both an INCLUDE and an EXCLUDE statement in the same
  79. ;  control file.  Also, the INCLUDE or EXCLUDE is active in all areas.
  80. ;
  81. ;INCLUDE .ANS .BBS .ASC
  82. ;EXCLUDE .ZIP .ARC .LZH .PAK
  83. ;EXCLUDE .Z01 .Z02 .Z03 .Z04 .Z05 .Z06 .Z07 .Z08 .Z09 .Z10
  84. ;EXCLUDE .Z11 .Z12 .Z13 .Z14 .Z15 .Z16 .Z17 .Z18 .Z19 .Z20
  85. ;EXCLUDE .Z21 .Z22 .Z23 .Z24 .Z25 .Z26 .Z27 .Z28 .Z29 .Z30
  86. ;EXCLUDE .Z31 .Z32 .Z33 .Z34 .Z35 .Z36 .Z37 .Z38 .Z39 .Z40
  87. ;
  88. ; -- Keep this line here or bad things will happen
  89. ;
  90. ;--------------------------------------------------------------------------
  91. ;  The following section is used to view arc/pak/zip/lzh files.  Be sure
  92. ;  you DON'T EXCLUDE the file extensions used here.  If you do the user
  93. ;  won't be able to see the .ZIP (or whatever) files to unarchive them.
  94. ;
  95. ;ARCHIVEDIR <drive:\path>
  96. ;
  97. ;  The ARCHIVEDIR statement is required if you want to have PICTDOR unarchive
  98. ;  files for the user to see.  This statement points to a temporary directory
  99. ;  that is used by PICTDOR to hold the extracted files.  Be sure that the
  100. ;  directory you specify with this command is used only by PICTDOR.  IT
  101. ;  MUST NOT CONTAIN ANY FILES.  When PICTDOR starts to unarchive a file it
  102. ;  will erase all files in the specified directory.
  103. ;
  104. ;UNPACKER ZIP Pkunzip %1 %2 *.*
  105. ;UNPACKER LZH Lharc e %1 %2\ *.*
  106. ;
  107. ; The UNPACKER command tells PICTDOR how to call the unarchiver program.
  108. ; You can have as many UNPACKER commands as you need.
  109. ;
  110. ; The first part of the command (ZIP or LZH in the example above) tells
  111. ; PICTDOR the "name" you will use in the USEUNPACKER statements to refer
  112. ; to the UNPACKER command.  This "name" can be up to 30 characters long.
  113. ;
  114. ; Everything that follows the name is the actual unarchiving command.
  115. ; The command is passed exactly as written to COMMAND.COM to be run.  In
  116. ; the command the %1 will be replaced by the name of the archive.  This
  117. ; will include the drive and path.  The %2 will be replaced by the
  118. ; ARCHIVEDIR specified above.  The passed directory name will NOT have a
  119. ; trailing backslash (even if you put one on the line).
  120. ;
  121. ;USEUNPACKER ZIP .ZIP .Z01 .Z02 .Z03 .Z04
  122. ;USEUNPACKER LZH .LZH
  123. ;
  124. ;  The USEUNPACKER command tells PICTDOR which UNPACKER line to use based
  125. ;  on the extension of the file to be displayed.  You can have as many
  126. ;  USEUNPACKER commands as you need.  You can also have multiple USEUNPACKER
  127. ;  commands that specify the same UNPACKER name (like multiple ZIP lines).
  128. ;
  129. ;  The first part of the command (ZIP or LZH in the examples above) tells
  130. ;  PICTDOR which named UNPACKER command to use.
  131. ;
  132. ;  Everything that follows the name are the extensions that will use the
  133. ;  unpacker.  You can specify as many extensions as will fit on a line 255
  134. ;  character line.  The leading period in front of the extension is required.
  135. ;
  136. End of Script
  137.